Component({
  properties: {
    myTitle: {
      type: [String],
      value: ''
    },
    myContent:{
      type: [String],
      value: ''
    },
    myShow:{
      type: [Boolean],
      value: false
    }
  },
  data:{
  },
  attached: function () {
    console.log(this.properties.myShow)
  },
  methods: {
    _onGotUserInfo(e) {
      console.log(e.detail.errMsg)
      console.log(e.detail.userInfo)
      console.log(e.detail.rawData)
      if (e.detail.userInfo){
          this.setData({
            myShow: false
          })
          wx.setStorageSync('userInfo', e.detail.userInfo)
      }
    },
    _console(){
      this.setData({
        myShow: false
      })
    }
  }
})
